direction distance reasoning